﻿using System.Runtime.Serialization;

namespace Google.Translates.Core.Entries
{
    //{ "data": { "detections": [ [ { "language": "zh-CN", "isReliable": false, "confidence": 0.9174454 } ] ] } } 

    [DataContract]
    public class DetectionData
    {
        /// <summary>
        /// Value for JSON data.detections
        /// </summary>
        [DataMember(Order = 0, Name = "detections")]
        public DetectionItem[][] Detections { get; set; }
    }
}